package com.main.dao;


import com.main.entity.User;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author admin
 * @version 1.0
 * @date 2019/4/23
 */
@Repository
public interface UserDao {

    User select(Long id);

    Boolean login(String username, String password);

    int register(User user);


    int update(User user);

    int delete(Long id);

    List<User> getuserList();

    Boolean webLogin(String email, String password);
}
